# $NetBSD$

DISTNAME=	vanitygen-0.21
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=samr7/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/samr7/vanitygen/
COMMENT=	Vanity address generator
LICENSE=	gnu-agpl-v3

USE_TOOLS+=	gmake

BUILD_TARGET=	most # all: requires OpenCL

INSTALLATION_DIRS+=	bin

do-install:
.for _file_ in vanitygen keyconv
	cd ${WRKSRC} && \
		${INSTALL_PROGRAM} ${_file_} ${DESTDIR}${PREFIX}/bin/
.endfor

.include "../../devel/pcre/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
